Figure A.11
The Properties window, shown here in its undocked
state, provides an easy way to change the properties
that govern the appearance and behavior of objects.
An example of a property is the Caption property of a Label control. You can change it by simply typing Hello World in the Caption field in the Properties window (a designtime change) or by adding a statement in your code like Form1.Label1.Caption = "Hello World" (a runtime change).
The Properties window has two tabs on it. These tabs allow you to group the properties either alphabetically or by logical categories. Another improvement to the Properties window is that it now includes a description of the selected property in a pane at the bottom. Having this information helps you avoid much of the need to look up properties in the Help system.
For convenience, the Name property of any object appears at the top of the list of properties rather than in its proper alphabetical order.
Many controls have an entry labeled (Custom) in the Properties window. Clicking the ellipsis ( . . . ) next to this entry brings up a special Property Page dialog box containing all the designtime properties for that control in an easy-to-modify format.
Using the Project Window
Another window on the desktop is the Project window, as shown in Figure A.12. This window shows a list of all the forms, code modules, and other components that are used in your program. If you want to view a form or code module, double-click it here during designtime, or click it once and click the View Object or View Code button.
One way to think of a project is as a group of related files. The project brings together all the files needed to create your program.